﻿using System;

namespace Overload
{
    public sealed class UnitAlreadyPlacedException : Exception
    {
        private readonly Unit unit;

        public UnitAlreadyPlacedException(Unit unit)
        {
            this.unit = unit;
        }

        public Unit Unit
        {
            get { return unit; }
        }
    }
}